/*
    pg_crash.c
        An extension to crash the postgresql's backend
    Wen Yi
*/
#include "postgres.h"
#include "fmgr.h"
#include "funcapi.h"
#include "utils/builtins.h"
#include <string.h>

PG_MODULE_MAGIC;

PG_FUNCTION_INFO_V1(pg_crash);

Datum
pg_crash(PG_FUNCTION_ARGS)
{
    char *p = 0x000;
    *p = NULL;
    PG_RETURN_NULL();
}